package com.example.common.enetiy;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author qwert
 * @version 1.0.0
 * @create 2025/8/19 23:23
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AccessLog {
    private String userId;
    private Long timestamp;

    // ip 地址
    private String ip;
    private String country;

    // 浏览器
    private String browser;
    private String browserVersion;

    // 操作系统
    private String operatingSystem;

    // 设备
    private String deviceType;
    private String deviceCategory;

    // 网络
    private String networkType;
}
